.data-table-card {
  margin-top: 16px;

  .ant-card-body {
    padding: 20px 24px 24px;
  }

  .ant-tabs {
    .ant-tabs-nav {
      margin-bottom: 16px;

      .ant-tabs-tab {
        padding: 8px 16px;
        font-weight: 500;
        transition: all 0.3s ease;

        &:hover {
          color: #40a9ff;
        }

        &.ant-tabs-tab-active {
          .ant-tabs-tab-btn {
            color: #1890ff;
            font-weight: 600;
          }
        }
      }
    }
  }

  .ant-table {
    font-size: 13px;

    .ant-table-thead > tr > th {
      background: #fafbfc;
      font-weight: 600;
      color: #262626;
      border-bottom: 2px solid #f0f0f0;
      padding: 12px 16px;

      &:first-child {
        border-radius: 8px 0 0 0;
      }

      &:last-child {
        border-radius: 0 8px 0 0;
      }
    }

    .ant-table-tbody > tr {
      transition: all 0.3s ease;

      &:hover {
        background: #f5f7fa;
        transform: translateX(2px);
      }

      td {
        padding: 12px 16px;
        border-bottom: 1px solid #f5f5f5;
        vertical-align: middle;
      }
    }

    // 排名标签居中对齐
    .ant-tag {
      display: inline-flex;
      align-items: center;
      margin: 0;
    }

    .rank-number {
      display: inline-block;
      width: 24px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      border-radius: 4px;
      background: #f5f5f5;
      color: #595959;
      font-weight: 500;
    }

    .book-title {
      display: flex;
      align-items: center;

      .title-text {
        flex: 1;
        color: #262626;
        font-weight: 500;
        
        &:hover {
          color: #1890ff;
          cursor: pointer;
        }
      }
    }

    .reads-count {
      color: #262626;
      font-weight: 600;
    }

    .growth-rate {
      color: #52c41a;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
    }
  }
}
